package com.zxh.system.exception;

import com.zxh.system.domain.ResultCode;

/**
 * 方法未定义
 */
public class MethodNotDefinedException extends  SystemException{

    private ResultCode resultCode;

    private Class<?> clzz;
    private String method;

    public MethodNotDefinedException(Class<?> clzz,String method) {
        super("class:"+clzz.getName()+",meWthod:"+method+"方法未定义！",ResultCode.NOT_METHOD);
        this.resultCode = ResultCode.NOT_METHOD;
        this.clzz=clzz;
        this.method=method;
    }

    public Class<?> getClzz() {
        return clzz;
    }

    public void setClzz(Class<?> clzz) {
        this.clzz = clzz;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
}
